<!DOCTYPE html>
<html>
<head>
    <title>on函数测试</title>
    <meta charset="utf-8"/>
    <script src="../../js/jquery-1.10.1.min.js"></script>
    <script>
       $().ready(function(){
            $("p").on("click", "input:button",[{"key": 111}, 1, 2, ,3],function(event){
                alert(event.data);
                var array = [0, 1, 5, 7];
                var temp = $.grep( array, function(n,i){
                    return n > 2;
                }, true);
                alert("temp:" + temp);
            });
       });
    </script>
</head>
<body>
    <p>应用类型Function
        <input type="button" value="Test"/>
    </p>
</body>
</html>